<%@page import="org.jlis.jdbc.logic.*"%>
<%@page import="org.jlis.core.list.*"%>
<%@page import="org.jlis.core.util.*"%>
<%@page import="java.lang.reflect.*"%>
<%@page import="java.util.*"%>
<%@page import="org.jlis.web.multipart.fileupload.*"%>
<%
    String barId = request.getParameter("barId");
    FileUploadListener listener = (FileUploadListener)session.getAttribute(Constantes.FILEUPLOAD_LISTENER);
    if (listener!=null) {
        long percent = listener.getPercentage();
        String percentage = percent+"%";
%>
document.getElementById("<%=barId%>").innerHTML = '<%=percentage%>';
setCount(<%=percent%>);
<%  }%>